var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function (req, res, next) {
  res.render('admin-role', { title: "角色管理" })
});

/* GET users listing. */
router.get('/permission', function (req, res, next) {
  res.render('admin-permission', { title: "权限管理" })
});


/* GET users listing. */
router.get('/list', function (req, res, next) {
  res.render('admin-list', { title: "管理员列表" })
});
/* GET users listing. */
router.get('/add', function (req, res, next) {
  res.render('admin-add', { title: "添加管理员" })
});




module.exports = router;
